﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using HFModel;
using hf.Model;
using HFModel.VO;
namespace HFWebApp.Control
{
    public partial class top : System.Web.UI.UserControl
    {
        public string focusLink1 { get; set; }
        public string focusLink2 { get; set; }
        public string focusLink3 { get; set; }
        public string focusLink4 { get; set; }
        public string focusLink5 { get; set; }
        public string focusLink6 { get; set; }
        public string focusLink7 { get; set; }
        public string focusLink8 { get; set; }
        public string NowCity { get; set; }
        public int MenuClassID { get; set; }
        public List<MenuData> list = new List<MenuData>();
        public HFController.BagePages bg = new HFController.BagePages();
        
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                list = MenuController.C().getMenu(MenuClassID);
                if (CitySession.CityID == 0)
                {
                    NowCity = "全国站";
                }
                else
                {
                    NowCity = HFController.CityController.getController().getCityList().Find(i => i.ID == CitySession.CityID).CityName + "站";
                }
            }
        }
    }
}